package puzzle.hashikake.data;

import java.util.ArrayList;
import java.util.List;

import puzzle.common.point.Pnt;


public class ShimaDef {
	public int i;
	public int n;
	public Pnt p;
	private List<HashiDef> m_hashis;
	
	public ShimaDef(int index, int number, Pnt point) {
		this.i = index;
		this.n = number;
		this.p = point;
		
		m_hashis = new ArrayList<HashiDef>();
	}
	
	public void addHashi(HashiDef hashi) {
		m_hashis.add(hashi);
	}

	public List<HashiDef> getHashis() {
		return m_hashis;
	}

}
